package com.sunlands.qdcy.deskmate.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Created with meng.
 * User: meng5
 * Date: 2019-04-25
 * Description:
 */
@Data
@ApiModel(value = "生成订单参数")
public class Order {
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("app名称tongzhuo,postgraduate")
    private String app;
    @ApiModelProperty("商品类型")
    private Long goodsNumber;
    @ApiModelProperty("商品名称")
    private String subject;
    @ApiModelProperty("商品详情")
    private String body;
    @ApiModelProperty("订单总金额")
    private BigDecimal totalAmount;
    @ApiModelProperty("订单号唯一，系统自动生成")
    private String outTradeNo;
    @ApiModelProperty("下单ip")
    private String spbillIp;

    @ApiModelProperty("苹果支付产品id")
    private String productId;

}